.sf_core_left_menu {
  height: 100%;
  overflow-x: hidden;

  .sf_core_left_menu_search {
    padding: 4PX 5PX 5PX 5PX;
    background-color: @menu-color;

    & > .ant-input-group {
      background-color: transparent;

      & > .ant-input {
        background-color: transparent;
        font-size: 12px;
      }

      & > .ant-input-group-addon {
        & > .ant-btn {
          background-color: transparent;
          height: 20px;
        }
      }
    }
  }

  .ant-menu {
    height: calc(100% - 36PX);
    overflow-y: auto;
    background-color: @menu-color;

    .sf_core_left_menu_label {
      position: relative;

      .sf_core_left_menu_label_title {
        display: block;
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }

      .sf_core_left_menu_label_count {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        padding: 2px 5px;
        line-height: 14px;
        font-size: 8px;
        border-radius: 5px;
        // color: #fff;
        // background-color: @primary-color;
      }
    }
  }

  & > .ant-menu {
    & > .ant-menu-submenu {
      & > div > .ant-menu-title-content > .sf_core_left_menu_label {
        font-weight: 700;
      }
    }

    & > .ant-menu-item {
      & > .ant-menu-title-content > .sf_core_left_menu_label {
        font-weight: 700;
      }
    }
  }
}


.sf_core_left_menu_popup {
  &.ant-menu-submenu-popup {
    .ant-menu {
      background-color: @menu-color !important;

      .ant-menu-item {
        display: flex;
      }

      .ant-menu-submenu-title {
        display: flex;
      }
    }
  }

}

.ant-menu-inline-collapsed-tooltip {
  &.ant-tooltip {
    --antd-arrow-background-color: @menu-color !important;

    .ant-tooltip-arrow::before {
      background-color: @menu-color !important;
    }
  }

  .ant-tooltip-inner {
    background-color: @menu-color !important;
  }
}
